import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  // {
  //   path: '/index10',
  //   name: '/index10',
  //   component: () => import('../views/lianxi/11.10'),
  //   children: [
  //     {
  //       path: '/about/:id',
  //       name: 'About',
  //       component: () => import('../views/lianxi/11.10/about')
  //     }
  //   ]

  // },

    {
    path: '/',
    name: '/Todolist',
    component: () => import('../views/lianxi/todo/Todo'),
  },

]

const router = new VueRouter({
  routes
})

export default router
